//package com.ningxun.pagent.web.controller.bus;
//
//import java.util.List;
//import javax.servlet.http.HttpServletResponse;
//
//import com.ningxun.pagent.bus.domain.BusPolicyContent;
//import org.springframework.security.access.prepost.PreAuthorize;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.PostMapping;
//import org.springframework.web.bind.annotation.PutMapping;
//import org.springframework.web.bind.annotation.DeleteMapping;
//import org.springframework.web.bind.annotation.PathVariable;
//import org.springframework.web.bind.annotation.RequestBody;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//import com.ningxun.pagent.common.annotation.Log;
//import com.ningxun.pagent.common.core.controller.BaseController;
//import com.ningxun.pagent.common.core.domain.AjaxResult;
//import com.ningxun.pagent.common.enums.BusinessType;
//import com.ningxun.pagent.bus.domain.BusPolicyApprove;
//import com.ningxun.pagent.bus.service.IBusPolicyApproveService;
//import com.ningxun.pagent.common.utils.poi.ExcelUtil;
//import com.ningxun.pagent.common.core.page.TableDataInfo;
//
///**
// * 政策审核Controller
// *
// * @author pagent
// * @date 2025-07-28
// */
//@RestController
//@RequestMapping("/bus/policyApprove")
//public class BusPolicyApproveController extends BaseController
//{
//    @Autowired
//    private IBusPolicyApproveService busPolicyApproveService;
//
//    /**
//     * 查询政策审核列表
//     */
//    @PreAuthorize("@ss.hasPermi('bus:policyApprove:list')")
//    @GetMapping("/list")
//    public TableDataInfo list(BusPolicyContent busPolicyContent)
//    {
//        startPage();
//        List<BusPolicyContent> list = busPolicyApproveService.selectBusPolicyApproveList(busPolicyContent);
//        return getDataTable(list);
//    }
//
//    /**
//     * 获取政策审核详细信息
//     */
//    @PreAuthorize("@ss.hasPermi('bus:policyApprove:query')")
//    @GetMapping(value = "/{policyId}")
//    public AjaxResult getInfo(@PathVariable("policyId") Long policyId)
//    {
//        return success(busPolicyApproveService.selectBusPolicyApproveByPolicyId(policyId));
//    }
//
//    /**
//     * 修改政策审核
//     */
//    @PreAuthorize("@ss.hasPermi('bus:policyApprove:edit')")
//    @Log(title = "政策审核", businessType = BusinessType.UPDATE)
//    @PutMapping
//    public AjaxResult edit(@RequestBody BusPolicyContent busPolicyContent, Long taskId,
//                           String skipType, String message, String nodeCode, String flowStatus)
//    {
//        return toAjax(busPolicyApproveService.updateBusPolicyApprove(busPolicyContent, skipType, taskId,
//                message, nodeCode, flowStatus));
//    }
//
//
//}
